+2001-11-10 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
+ we know what we are talking about when asked for MINMAXINFO.
+ Also some cleaning for !HAVE_DIMM_H etc.
+
2001-11-10 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktreeviewcolumn.c: Fix docs for
* gtk/gtkcolorsel.c: Documentation fixes.
-2001-10-28 Hans Breuer <hans@breuer.org>
+2001-11-10 Hans Breuer <hans@breuer.org>
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
+2001-11-10 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
+ we know what we are talking about when asked for MINMAXINFO.
+ Also some cleaning for !HAVE_DIMM_H etc.
+
2001-11-10 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktreeviewcolumn.c: Fix docs for
* gtk/gtkcolorsel.c: Documentation fixes.
-2001-10-28 Hans Breuer <hans@breuer.org>
+2001-11-10 Hans Breuer <hans@breuer.org>
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
+2001-11-10 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
+ we know what we are talking about when asked for MINMAXINFO.
+ Also some cleaning for !HAVE_DIMM_H etc.
+
2001-11-10 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktreeviewcolumn.c: Fix docs for
* gtk/gtkcolorsel.c: Documentation fixes.
-2001-10-28 Hans Breuer <hans@breuer.org>
+2001-11-10 Hans Breuer <hans@breuer.org>
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
+2001-11-10 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
+ we know what we are talking about when asked for MINMAXINFO.
+ Also some cleaning for !HAVE_DIMM_H etc.
+
2001-11-10 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktreeviewcolumn.c: Fix docs for
* gtk/gtkcolorsel.c: Documentation fixes.
-2001-10-28 Hans Breuer <hans@breuer.org>
+2001-11-10 Hans Breuer <hans@breuer.org>
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
+2001-11-10 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
+ we know what we are talking about when asked for MINMAXINFO.
+ Also some cleaning for !HAVE_DIMM_H etc.
+
2001-11-10 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktreeviewcolumn.c: Fix docs for
* gtk/gtkcolorsel.c: Documentation fixes.
-2001-10-28 Hans Breuer <hans@breuer.org>
+2001-11-10 Hans Breuer <hans@breuer.org>
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
+2001-11-10 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
+ we know what we are talking about when asked for MINMAXINFO.
+ Also some cleaning for !HAVE_DIMM_H etc.
+
2001-11-10 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktreeviewcolumn.c: Fix docs for
* gtk/gtkcolorsel.c: Documentation fixes.
-2001-10-28 Hans Breuer <hans@breuer.org>
+2001-11-10 Hans Breuer <hans@breuer.org>
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
+2001-11-10 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
+ we know what we are talking about when asked for MINMAXINFO.
+ Also some cleaning for !HAVE_DIMM_H etc.
+
2001-11-10 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktreeviewcolumn.c: Fix docs for
* gtk/gtkcolorsel.c: Documentation fixes.
-2001-10-28 Hans Breuer <hans@breuer.org>
+2001-11-10 Hans Breuer <hans@breuer.org>
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
GdkEvent *eventp;
MSG msg;
DWORD pos;
+#ifdef HAVE_DIMM_H
LRESULT lres;
+#endif
gint ret_val;
gboolean ret_val_flag;
_gdk_events_init (void)
{
GSource *source;
+#ifdef HAVE_DIMM_H
HRESULT hres;
+#endif
#ifdef USE_TRACKMOUSEEVENT
HMODULE user32, imm32;
HINSTANCE commctrl32;
mmi->ptMaxSize.x = MIN(window_impl->hint_max_width, gdk_screen_width ());
mmi->ptMaxSize.y = MIN(window_impl->hint_max_height, gdk_screen_height ());
}
+ else if (window_impl->hint_flags & GDK_HINT_MIN_SIZE)
+ {
+ /* need to initialize */
+ mmi->ptMaxSize.x = gdk_screen_width ();
+ mmi->ptMaxSize.y = gdk_screen_height ();
+ }
+ /* lovely API inconsistence: return FALSE when handled */
+ if (ret_val_flagp)
+ *ret_val_flagp = !(window_impl->hint_flags &
+ (GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE));
break;
case WM_MOVE: